 #define _CRT_SECURE_NO_WARNINGS 1
#include"stack.h"

void StackTest1()
{
	ST s1;
	StackInit(&s1);
	StackPush(&s1, 1);
	StackPush(&s1, 2);
	StackPush(&s1, 3);
	StackPush(&s1, 4);
	StackPop(&s1);
	StackDestroy(&s1);
	//printf("%d\n", StackTop(&s1));
	printf("%d\n", StackSize(&s1));
	printf("%d\n", StackEmpty(&s1));
}

int main()
{
	StackTest1();
	return 0;
}